package com.quickpass.order.mapper;

import com.quickpass.order.domain.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @description:
 * @author: 弔人
 * @time: 2023/2/6 9:57
 */
@Mapper
public interface OrderMapper {

    @Insert("insert into b_order set id=#{id},businessid=#{businessid},tableid=#{tableid},memberid=#{memberid},couponid=#{couponid}," +
            "createtime=#{createtime},couponamount=#{couponamount},paystatus=#{paystatus},payamount=#{payamount}")
    public void insertOrder(Order order);
}
